<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<!-- 用js实现 百钱买白鸡问题，100元买100只鸡，大公鸡5元一只，老母鸡3元一只，小鸡一元三只，
有多少种买法。 -->
		<script type="text/javascript">
			var f = 0;
			for (var i = 0; i <= 100; i++) {
				for (var j = 0; j <= 100; j++) {
					for (var z = 0; z <= 100; z++) {
						if (i * 5 + j * 3 + z / 3 == 100 && i + j + z == 100) {
							f++;
						}
					}
				}
			}
			document.write(f);
		</script>
	</head>
	<body>
	</body>
</html>
